<template>
	<div class="error-page">
		<div class="error-container">
			<div class="error-content">
				<div class="error-text">
					<div class="error-code animate-fade-in">401</div>
					<div class="error-title animate-fade-in" style="animation-delay: 0.1s">
						未经授权
					</div>
					<div class="error-message animate-fade-in" style="animation-delay: 0.2s">
						抱歉，您没有权限访问此页面
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
</script>

<style scoped>
.error-page {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	overflow: hidden;
}

.error-container {
	margin: 0 auto;
	max-height: 90vh;
}

.error-content {
	width: 50vw;
	background: white;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-text {
	padding: 20px;
}

.error-code {
	font-size: 120px;
	font-weight: bold;
	color: #d32f2f;
	line-height: 1;
}

.error-title {
	font-size: 32px;
	font-weight: 600;
	color: #2c3e50;
	margin: 20px 0 10px;
}

.error-message {
	font-size: 18px;
	color: #7f8c8d;
	margin-bottom: 30px;
}

/* 仅保留使用中的动画 */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate-fade-in {
	animation: fadeIn 0.6s ease forwards;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.error-content {
		width: 85vw;
		text-align: center;
	}

	.error-code {
		font-size: 80px;
	}

	.error-title {
		font-size: 24px;
	}

	.error-message {
		font-size: 16px;
	}
}
</style>